package com.atguigu.blog.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "User")
public class User {
    @Schema(description = "用户id")
    private Long uid; //用户id
    @Schema(description = "用户名称")
    private String username;//用户名称
    @Schema(description = "用户密码")
    private String password;//密码
    @Schema(description = "用户手机号")
    private String phone;//手机号
    @Schema(description = "个人介绍")
    private String introduction;//个人介绍
    @Schema(description = "发布时间")
    private Date createTime;
    @Schema(description = "修改时间")
    private Date updateTime;
}